﻿@model ITProject.WebUI.Models.Project.ProjectCommentViewModel

@using (Html.BeginForm(MVC.Project.ActionNames.AddComment, MVC.Project.Name, FormMethod.Post, new { enctype = "multipart/form-data" }))
{
    @Html.ValidationSummary(true)
    <fieldset>
    @Html.HiddenFor(x=>x.projectName)
        <div class="editor">
            <div class="editor-label">
                Dodawanie komentarza jako użytkownik: @User.Identity.Name
            </div>
            <div class="editor-field">
            <p class="validation">@Html.ValidationMessageFor(model => model.Text)
</p>
                @Html.TextAreaFor(model => model.Text, new { @class = "input", @style="width:450px" })
                <input type="submit" value="Dodaj" class="button"/>
            </div> 
        </div>

            

    </fieldset>
}